package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.User;

import java.util.List;

public interface IUserService extends IService<User> {
    int addUser(User user);

    boolean deleteUserById(Long id);

    int updateUser(User user);

    User getUserById(Long id);

    List<User> getAllUsers();
}
